Add MiniMax image generation tool#456
Conversation
|
Follow-up audit completed. I made the image tool configurable for both regional API hosts, synchronized the three lesson docs, diagram, and generated web data, and added a focused request-contract test. I ran |
|
Follow-up audit completed. I aligned the image tool schema with the documented prompt limit and aspect-ratio default, updated the touched lesson and generated content, and pushed commit |
|
Follow-up audit completed. I removed generated web artifacts from the PR diff because |
Reason: add target image capability using existing tool/provider pattern
Summary
generate_imagetool to the tool-use lesson.TOOLSschema andTOOL_HANDLERSdispatch map.prebuildregenerates and validates web artifacts without adding generated snapshots to the PR diff.Checks
python -m pytest tests -q(26 passed, 32 subtests)python -m py_compile s02_tool_use/code.py tests/test_s02_generate_image.pynpx tsc --noEmitnpm run buildContribution Note
AI assistance was used for implementation and verification. I reviewed the final diff and test results.